package com.vlin;

import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

@SpringBootApplication
@EnableDiscoveryClient 
public class TuyApiBootStrap {

	public static void main(String[] args) {
		SpringApplicationBuilder springBuilder = new SpringApplicationBuilder(TuyApiBootStrap.class);
		
		if(args != null && args.length >0) 
			for(String arg : args)
				if(arg != null)
					springBuilder.properties(arg);
		
		springBuilder.run(args);
		
	}

}
